package com.ouyy.volunteerservice.volunteer.utils;

public class ResponseData<T> {
    private String status;
    private T data;
    private String message;

    // 构造函数
    public ResponseData(String status, T data, String message) {
        this.status = status;
        this.data = data;
        this.message = message;
    }

    // Getter 和 Setter 方法
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
